﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace Forum.DataBase
{
    public enum Permission { guest, user, moderator, admin }

    class UserData
    {
        public string name { get; set; }
        public string username { get; set; }
        public string lastname { get; set; }
        public string password { get; set; }
        public string email { get; set; }
        public Permission permission { get; set; }


        public UserData(string name, string username, string lastname, string password, string email)
        {
            this.name = name;
            this.lastname = lastname;
            this.password = password;
            this.email = email;
            this.permission = Permission.user;
        }
    }
}
